home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 8 / Eagles_Nest_Mac_Collection_Disc_8.TOAST / Developer Tools⁄Additions / TextPertDK#1 / MPW C Sources & Examples.image / Example1 / Example1.make < prev    next >
Text File  |  1992-04-07  |  928b  |  38 lines

  1. # File Name:                                Example1.make
  2. # Current Version:                    1.2.6
  3.  
  4.  
  5. SymOptions = -sym off
  6. MbgOptions = -mbg off
  7. RSELibraries = "{RSELib}Library:RSE.lib"
  8.  
  9. OBJECTS = Example1.c.o ∂
  10.                     "Example1_Scan.c.o" ∂
  11.                     "AppleScan.c.o" ∂
  12.                     "{CLibraries}"StdClib.o ∂
  13.                     "{Libraries}"Runtime.o ∂
  14.                     "{Libraries}"Interface.o
  15.  
  16. COptions =    {SymOptions} {MbgOptions} ∂
  17.             -i "{CIncludes}" ∂
  18.             -i "{RSELib}Interfaces:" ∂
  19.             -i "{RSELib}Library Source:" ∂
  20.             -r -d MACINTOSH ∂
  21.             -p 
  22.  
  23. ROptions =     -i {RIncludes} ∂
  24.                         -s "{RSELib}Resources:" ∂
  25.                         -append
  26.  
  27. Example1 ƒƒ Example1.make {OBJECTS} {RSELibraries}
  28.     Link -p -d -o {Targ} {SymOptions} -mf  "{RSELibraries}" {OBJECTS}
  29.     SetFile {Targ} -t APPL -c 'TPX1' -a B
  30.  
  31. Example1 ƒƒ Example1.make Example1.r {OBJECTS} {RSELibraries}
  32.     Rez Example1.r     {ROptions} -o {Targ}
  33.  
  34. # setting default target and search directory
  35.  
  36. .c.o                ƒ .c 
  37.     C    {COptions}    {DepDir}{Default}.c -o {TargDir}{Default}.c.o
  38.